Automattic\WooCommerce\Blocks\StoreApi\Schemas\ProductSchema A

Total Complexity 51
Dependencies 4
Dependents 1
Total lines 779
Lines of code 593
Logical lines of code 92
Comment lines 130
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_properties()
B
22
1 372
get_price_range()
A
49 9 28
get_term_list()
S
51 7 27
get_variations()
S
43 5 50
get_attributes()
S
55 6 17
get_item_response()
S
46 2 37
get_low_stock_remaining()
S
67 3 7
get_product_quantity_limit()
S
64 3 9
get_remaining_stock()
S
72 2 6
filter_variation_attribute()
S
79 2 3
prepare_product_attribute_value()
S
68 2 7
get_tax_display_mode()
S
77 2 3
get_price_function_from_tax_display_mode()
S
79 2 3
filter_valid_attribute()
S
79 1 3
get_images()
S
74 1 4
prepare_product_attribute_taxonomy_value()
S
79 1 3
prepare_product_price_response()
S
63 1 10
__construct()
S
76 1 4